/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @author ChiTuan
 */
public class CTDeal {

     private int idDeal;
     private String tenDeal;
     private BigDecimal giaGoc;
     private BigDecimal giaGiam;
     private float phanTramGiam;
     private int soPhieuToiThieu;
     private int soPhieuToiDa;
     private int soPhieuDaBan;
     private int soPhieuConLai;
     private Date thoiGianBatDau;
     private Date thoiGianKetThuc;
     private int idTinhThanh;
     private int idCongTy;
     private int soNguoiMua;
     private String mota;
     private int soBinhChon;
     private int soQuangCao;
     private String HinhAnh;

    public CTDeal(int idDeal, String tenDeal, BigDecimal giaGoc, BigDecimal giaGiam, float phanTramGiam, int soPhieuToiThieu, int soPhieuToiDa, int soPhieuDaBan, int soPhieuConLai, Date thoiGianBatDau, Date thoiGianKetThuc, int idTinhThanh, int idCongTy, int soNguoiMua, String mota, int soBinhChon, int soQuangCao,String HinhAnh) {
        this.idDeal = idDeal;
        this.tenDeal = tenDeal;
        this.giaGoc = giaGoc;
        this.giaGiam = giaGiam;
        this.phanTramGiam = phanTramGiam;
        this.soPhieuToiThieu = soPhieuToiThieu;
        this.soPhieuToiDa = soPhieuToiDa;
        this.soPhieuDaBan = soPhieuDaBan;
        this.soPhieuConLai = soPhieuConLai;
        this.thoiGianBatDau = thoiGianBatDau;
        this.thoiGianKetThuc = thoiGianKetThuc;
        this.idTinhThanh = idTinhThanh;
        this.idCongTy = idCongTy;
        this.soNguoiMua = soNguoiMua;
        this.mota = mota;
        this.soBinhChon = soBinhChon;
        this.soQuangCao = soQuangCao;
        this.HinhAnh=HinhAnh;
    }
    public CTDeal()
    {}

    /**
     * @return the idDeal
     */
    public int getIdDeal() {
        return idDeal;
    }

    /**
     * @param idDeal the idDeal to set
     */
    public void setIdDeal(int idDeal) {
        this.idDeal = idDeal;
    }

    /**
     * @return the tenDeal
     */
    public String getTenDeal() {
        return tenDeal;
    }

    /**
     * @param tenDeal the tenDeal to set
     */
    public void setTenDeal(String tenDeal) {
        this.tenDeal = tenDeal;
    }

    /**
     * @return the giaGoc
     */
    public BigDecimal getGiaGoc() {
        return giaGoc;
    }

    /**
     * @param giaGoc the giaGoc to set
     */
    public void setGiaGoc(BigDecimal giaGoc) {
        this.giaGoc = giaGoc;
    }

    /**
     * @return the giaGiam
     */
    public BigDecimal getGiaGiam() {
        return giaGiam;
    }

    /**
     * @param giaGiam the giaGiam to set
     */
    public void setGiaGiam(BigDecimal giaGiam) {
        this.giaGiam = giaGiam;
    }

    /**
     * @return the phanTramGiam
     */
    public float getPhanTramGiam() {
        return phanTramGiam;
    }

    /**
     * @param phanTramGiam the phanTramGiam to set
     */
    public void setPhanTramGiam(float phanTramGiam) {
        this.phanTramGiam = phanTramGiam;
    }

    /**
     * @return the soPhieuToiThieu
     */
    public int getSoPhieuToiThieu() {
        return soPhieuToiThieu;
    }

    /**
     * @param soPhieuToiThieu the soPhieuToiThieu to set
     */
    public void setSoPhieuToiThieu(int soPhieuToiThieu) {
        this.soPhieuToiThieu = soPhieuToiThieu;
    }

    /**
     * @return the soPhieuToiDa
     */
    public int getSoPhieuToiDa() {
        return soPhieuToiDa;
    }

    /**
     * @param soPhieuToiDa the soPhieuToiDa to set
     */
    public void setSoPhieuToiDa(int soPhieuToiDa) {
        this.soPhieuToiDa = soPhieuToiDa;
    }

    /**
     * @return the soPhieuDaBan
     */
    public int getSoPhieuDaBan() {
        return soPhieuDaBan;
    }

    /**
     * @param soPhieuDaBan the soPhieuDaBan to set
     */
    public void setSoPhieuDaBan(int soPhieuDaBan) {
        this.soPhieuDaBan = soPhieuDaBan;
    }

    /**
     * @return the soPhieuConLai
     */
    public int getSoPhieuConLai() {
        return soPhieuConLai;
    }

    /**
     * @param soPhieuConLai the soPhieuConLai to set
     */
    public void setSoPhieuConLai(int soPhieuConLai) {
        this.soPhieuConLai = soPhieuConLai;
    }

    /**
     * @return the thoiGianBatDau
     */
    public Date getThoiGianBatDau() {
        return thoiGianBatDau;
    }

    /**
     * @param thoiGianBatDau the thoiGianBatDau to set
     */
    public void setThoiGianBatDau(Date thoiGianBatDau) {
        this.thoiGianBatDau = thoiGianBatDau;
    }

    /**
     * @return the thoiGianKetThuc
     */
    public Date getThoiGianKetThuc() {
        return thoiGianKetThuc;
    }

    /**
     * @param thoiGianKetThuc the thoiGianKetThuc to set
     */
    public void setThoiGianKetThuc(Date thoiGianKetThuc) {
        this.thoiGianKetThuc = thoiGianKetThuc;
    }

    /**
     * @return the idTinhThanh
     */
    public int getIdTinhThanh() {
        return idTinhThanh;
    }

    /**
     * @param idTinhThanh the idTinhThanh to set
     */
    public void setIdTinhThanh(int idTinhThanh) {
        this.idTinhThanh = idTinhThanh;
    }

    /**
     * @return the idCongTy
     */
    public int getIdCongTy() {
        return idCongTy;
    }

    /**
     * @param idCongTy the idCongTy to set
     */
    public void setIdCongTy(int idCongTy) {
        this.idCongTy = idCongTy;
    }

    /**
     * @return the soNguoiMua
     */
    public int getSoNguoiMua() {
        return soNguoiMua;
    }

    /**
     * @param soNguoiMua the soNguoiMua to set
     */
    public void setSoNguoiMua(int soNguoiMua) {
        this.soNguoiMua = soNguoiMua;
    }

    /**
     * @return the mota
     */
    public String getMota() {
        return mota;
    }

    /**
     * @param mota the mota to set
     */
    public void setMota(String mota) {
        this.mota = mota;
    }

    /**
     * @return the soBinhChon
     */
    public int getSoBinhChon() {
        return soBinhChon;
    }

    /**
     * @param soBinhChon the soBinhChon to set
     */
    public void setSoBinhChon(int soBinhChon) {
        this.soBinhChon = soBinhChon;
    }

    /**
     * @return the soQuangCao
     */
    public int getSoQuangCao() {
        return soQuangCao;
    }

    /**
     * @param soQuangCao the soQuangCao to set
     */
    public void setSoQuangCao(int soQuangCao) {
        this.soQuangCao = soQuangCao;
    }

    /**
     * @return the HinhAnh
     */
    public String getHinhAnh() {
        return HinhAnh;
    }

    /**
     * @param HinhAnh the HinhAnh to set
     */
    public void setHinhAnh(String HinhAnh) {
        this.HinhAnh = HinhAnh;
    }
    

    
}
